package com.ets.Vendor_DAO;

import java.util.ArrayList;

/******************************************************************************* 
 <big><b>VendorIO</b></big> interface, that defines the methods available for
 use with the <big><b>Vendor</b></big> object
 <br><br>
 @author D.Merkling - 1:33:38 PM - Aug 22, 2011
 <br><br>
 @version 1.0  
*******************************************************************************/ 
public interface VendorIO
  {
   // Vendor reader methods
   boolean existsVendor    (String vndr);
   Vendor  getVendor       (String str);
   Vendor  getVendorByID   (String vndr);
   Vendor  getVendorByName (String nm);
   boolean getVendors      (ArrayList<Vendor> expenses);

   // Vendor writer methods
   boolean addVendor    (Vendor v);
   boolean updateVendor (Vendor v);
   boolean deleteVendor (Vendor v);
  }
